<?php
 
class block_cleanup_edit_form extends block_edit_form {
 
    protected function specific_definition($mform) {
 
        // Section header title according to language file.
        $mform->addElement('header', 'configheader', get_string('blocksettings', 'block'));
 
        // A sample string variable with a default value.
        $mform->addElement('text', 'config_text', get_string('pluginname', 'block_cleanup'));
        $mform->addElement('checkbox', 'is_cron', get_string('is_cron', 'block_cleanup'));
        $mform->setDefault('config_text', 'default value');
        $mform->setType('config_text', PARAM_MULTILANG);        
    }
    // Here's the closing curly bracket for the class definition
    // and here's the closing PHP tag from the section above.
}